<%--
  Created by IntelliJ IDEA.
  User: csnf
  Date: 2024/12/24
  Time: 10:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="addStudent" method="post">
    <input type="text" name="sName" placeholder="请输入学生姓名"><br>
    <input type="date" name="birth" placeholder="请输入出生日期"><br>
    <input type="text" name="gender" placeholder="请输入性别"><br>
    <select name="cId">
        <option value="">请选择班级</option>
        <c:forEach items="${claList}" var="cla">
            <option value="${cla.cId}">${cla.cName}</option>
        </c:forEach>
    </select>
    <input type="submit" value="添加">
</form>
</body>
</html>
